package developer.zyk.starter;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.ConfigurationPropertiesScan;

@SpringBootApplication(scanBasePackages = {
        "developer.zyk",
        "developer.zyk.ability.chat",
})
@ConfigurationPropertiesScan("developer.zyk")
@MapperScan({
        "developer.zyk.ability.chat.dao.mappers",
        "developer.zyk.ability.knowledge.dao.mappers",
        "developer.zyk.global.user.dao.mappers",
        "developer.zyk.global.upload.dao.mappers",
})
public class Application {

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }
}
